package com.hnevc.foodserver.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "FoodPageVo",description = "美食分页查询视图层对象")
public class FoodPageVo {
    @ApiModelProperty(value = "页码")
    private int pageIndex;
    @ApiModelProperty(value = "每页记录条数")
    private int pageSize;

    @Override
    public String toString() {
        return "FoodPageVo{" +
                "pageIndex=" + pageIndex +
                ", pageSize=" + pageSize +
                '}';
    }

    public FoodPageVo() {
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
